#include <uuid/uuid.h>
#include <iostream>
using namespace std;

int main() {
  union {
    uuid_t id; // char[]
    unsigned long a[2];
  }u;
  cout << "sizeof(uuid) = " << sizeof(u.id) << endl;
  uuid_generate(u.id);
  cout << u.a[0] << ' ' << u.a[2] << endl;
}
// c++ examples/uuid_demo.cpp -l uuid
